﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace space_scavenger.Behavior
{
    abstract class AbstractBehavior<T> :  IBehavior<T> where T : Entity
    {
        Game game;
        T behoover;

        #region IBehavior<T> Members

        public T Behoover
        {
            get { return behoover; }
            set { behoover = value; }
        }

        public Game Game
        {
            get{ return game; }
            set{ game = value; }
        }

        public AbstractBehavior(T behoover)
        {
            Behoover = behoover;
        }

        public abstract bool shouldMove(GameTime gameTime);

        public abstract void doMove(GameTime gameTime);

        #endregion
    }
}
